package com.hk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hk.model.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface EmployeeMapper extends BaseMapper<Employee> {
    @Select("select * from employee where user_name = #{username}")
    Employee selectEmpByUserName(String username);
}
